package cn.zhy.org.service;

import cn.zhy.org.domain.Shop;
import cn.zhy.basic.service.IBaseService;
import cn.zhy.org.domain.ShopAuditLog;
import cn.zhy.org.dto.ShopDto;

import javax.mail.MessagingException;
import javax.servlet.http.HttpServletResponse;
import java.io.IOException;
import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author Mingo
 * @since 2022-07-08
 */
public interface IShopService extends IBaseService<Shop> {

    /**
     * 店铺入驻
     * @param shop
     */
    void settlement(Shop shop);

    /**
     * 店铺审核通过
     * @param log
     */
    void pass(ShopAuditLog log) throws MessagingException;

    /**
     * 店铺审核驳回
     * @param log
     */
    void reject(ShopAuditLog log) throws MessagingException;

    List<ShopDto> echar();

    void success(Long id) throws IOException;
}
